package office.stock.persistance;

import java.util.List;

public interface GenericDAO<T> {
    T getById(Long id);

    List<T> getAll();

    void persist(T entity);

    void update(T entity);
    
    T remove(Long id);
    
}
